FROM openjdk:8-jre-alpine

MAINTAINER luoliang

ENV DUBBO_IP_TO_REGISTRY 30.208.41.156
ENV DUBBO_PORT_TO_REGISTRY 10085

ADD target/spider-user-service-provider-1.0.0.jar app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar","/app.jar"]

EXPOSE 10085

#docker run -d -p 10085:10085 --name dubbo- dubbo-provider0072provider0072